﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MainFrame.aspx.cs" Inherits="DevFrameWork.Web.SysAdmin.MainFrame" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title></title>
        <style type="text/css">
        body {
	margin:0px;
	overflow:auto;
	}
	table,td{font-size:12px;}
     form{margin:0px;}
        .LoginInfo { font-size:11px;}
        .menuHeader{font-size:12px; background-image:url(images/menu_title_bg.jpg);background-repeat:no-repeat;height:29px;background-position: 2px;padding-left:14px; font-weight:normal;}
        .menuDetail{font-size:11px;}
        .tbLeftMenu{width:100%;}
        .tbSubMenu{ margin-left:20px; width:100%; margin-top:4px; margin-bottom:4px;color: #115888; font-weight:500;}
        .menu_t1{background-image:url(images/menu_t1.jpg); background-position:0px 2px;color:#131313; font-size:12px; font-weight:bold; height:35px;}
        .menu_t2{background-image:url(images/menu_t2.jpg); background-position:0px 2px;color:#131313; font-size:12px; font-weight:bold; height:35px;}
        .t_b1{ border-bottom:#8fabc1 solid 1px;border-right:#8fabc1 solid 1px; text-align:center;}
        .t_b2{ border-bottom:#8fabc1 solid 1px; text-align:center;}
        .menuName{padding-left:6px;}
        .mainSplit{width:4px; background-color:#8fabc1;}
        a:link,a:visited{font-size:9pt;color:#2f424d;text-decoration:none; }
        a:hover,a:active{color:#095692;text-decoration:underline;}
        a.topMenu:link,a.topMenu:visited{font-size:12px;color:#fff;text-decoration:none; }
        a.topMenu:hover,a.topMenu:active{font-size:12px;color:#fff;text-decoration:none; }
        
        .mainBottom{ color:#ffffff; font-size:12px; background-image:url(images/main_3.jpg); height:35px; text-align:center; padding-top:5px; padding-left:10px; }
        .topSplitter{width:100%; height:2px; background-color:#2f424d;}
        .topMenuTitle{ text-decoration:none; font-size:12px; font-weight:bold; color:#2f424d;}
        .logininf{ color:#3f6293;}
        </style>
        
     <%=DevCore.Web.UIPage.WebPageHelper.GetCss(ResolveUrl("~/Script/EasyUI/themes/default/easyui.css"))%>
    <%=DevCore.Web.UIPage.WebPageHelper.GetScript(ResolveUrl("~/Script/js/jquery-1.4.2.min.js"))%>
    <%=DevCore.Web.UIPage.WebPageHelper.GetScript(ResolveUrl("~/Script/EasyUI/jquery.easyui.min.js"))%>

        <script type="text/javascript">

            //设置内容页显示的地方
            function setMainFrameUrl(sUrl) {

                var frame = document.getElementById("mainframe");
                frame.src = sUrl;
                return false;
            }
        
        </script>
    <script language="javascript" type="text/javascript">
        function showhidmenu(id) {
            var o = document.getElementById("leftMenu");
            if (o.style.display == 'none') {
                o.style.display = "";
                id.src = "images/openFrame1.gif";
                id.title = "显示菜单"
            } else {
                o.style.display = "none";
                id.src = "images/clsFrame1.gif";
                id.title = "隐藏菜单"
            }
        }

        function controlmain(url) {
            mainframe.location.href = url
        }

        function doItem(id) {
            var o = document.getElementById("curItem");
            o.innerHTML = id.innerText;
        }

        ///加载完成的时候执行
        function doOnLoad() {
            var left = document.getElementById("leftMenu");
            if (left.style.display == "none") {
                left.style.display = "";
            }
        }
        
    </script>
</head>
<body>
    <form id="MainForm" class="topMenuTitle">
        <table id="Table1" width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" runat="server">
            <tr>
                <td valign="top" background="images/main_1.jpg" style="height: 72px">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                             <td align="right">
                            
                             <TABLE width="100%" border=0 align="center" cellPadding=0 cellSpacing=0 bgColor=#ffffff>
  <TBODY>
    <TR>
      <TD width="229" height=44 style="BACKGROUND-POSITION: right 50%; BACKGROUND-REPEAT: no-repeat"><img src="images/biao.gif" width="269" height="44"></TD>
      <TD width="780" 
    background=images/masys_05.gif style="BACKGROUND-POSITION: right 50%; BACKGROUND-REPEAT: no-repeat"><div align="right"></div></TD>
    </TR>
  </TBODY>
</TABLE>   

                            </td>
                        </tr>
                    </table>
                    <table class="topSplitter">
                                    <tr>
                                        <td style="font-size:12px; height:24px; color:#ffffff;">常用功能:
                                            
                                        </td>
                                    </tr>
                                </table>
                    
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <table style="width:100%; height:100%;" border="0" cellpadding="0" cellspacing="0" align="left">
                        <tr>
                            <td valign="top" id="leftMenu" style="display: none; width:180px;">
                                <table style="width:100%; margin-top:1px;" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td valign="top" style="height:24px; background-color:#f1f1f1; padding-left:4px; padding-top:4px;">
                                        
                                        导航菜单</td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                      	<ul id="tt1" class="easyui-tree" animate="true" dnd="true"></ul>
                                    </td>
                                </tr>
                                </table>
                               
                             
                              <script type="text/javascript">
                                  doOnLoad();
                              </script>
                            </td>
                            <td class="mainSplit"></td>
                            <td valign="top">
                            
                                <iframe id="mainframe" name="mainframe" src="" width="100%" 
                                                height="100%" allowtransparency="1" frameborder="0" >内容页面</iframe>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td  class="mainBottom">
                <table style="width:100%; color:#ffffff;">
                    <tr>
                        <td style="text-align:left;">当前用户:【】,所在机构:【】, 
                            所在部门:【】,登录IP:【】</td>
                        <td style="text-align:right;"></td>
                    </tr>
                </table>
                    </td>
            </tr>
        </table>
    </form>
</body>
</html>
